package com.learn.hibernatevalidator.chapter06.crossparameter;

import jakarta.validation.constraints.NotNull;

import java.util.Date;

/**
 * @author: liyf
 * @create: 2025-01-15 23:21
 **/
public class CalendarService {

    @ConsistentDateParameters
    public void createCalendarEvent(
            @NotNull Date startDate,
            @NotNull Date endDate
    ) {
        System.out.println("CalendarService.createCalendarEvent");
    }
}
